﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NetExp.MediaXenter.Utilities
{
    public static class Constants
    {
        public const long GENERALE_TEMPO_ANIMAZIONE = 5000000;

        public const string LOCALIZATION_AREA_GENERICA = "S000";
        public const string LOCALIZATION_AREA_PAGINA_PRINCIPALE = "S010";
        public const string LOCALIZATION_AREA_PAGINA_IMPOSTAZIONI = "S020";
        public const string LOCALIZATION_AREA_PAGINA_VIDEO = "S030";
        public const string LOCALIZATION_AREA_PAGINA_FOTO = "S040";
        public const string LOCALIZATION_AREA_PAGINA_MUSICA = "S050";
        public const string LOCALIZATION_AREA_PAGINA_PLUGIN = "S060";
        public const string LOCALIZATION_AREA_PAGINA_TELEVISIONE = "S070";

        public const string FILESETTINGSNAME = @"\Settings.xml";
        public const string FILEKEYBOARDNAME = @"\Keyboard.xml";
        public const int PULSANTIERA_NUMERO_PULSANTI = 5;
        public const int PULSANTIERA_PULSANTE_CENTRALE = 2;
        public const long PULSANTIERA_TEMPO_ANIMAZIONE = 5000000;
        public const string IMMAGINE_NOME_SFONDO = "Sfondo.jpg";
        
        public static string SETTINGSPATH
        {
            get
            {
                return Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\NetExpression\MediaXenter";
            }
        }
        public static string LOCALIZATIONPATH
        {
            get
            {
                string path = Application.ExecutablePath;
                path = path.Remove(path.LastIndexOf("\\") + 1);

                return path;
            }
        }
        public static string STYLEPATH
        {
            get
            {
                string path = Application.ExecutablePath;
                path = path.Remove(path.LastIndexOf("\\") + 1);
                path += @"\Themes";

                return path;
            }
        }
        public static string THEMESPATH
        {
            get
            {
                string path = Application.ExecutablePath;
                path = path.Remove(path.LastIndexOf("\\") + 1);
                path += @"\Themes";
                return path;
            }
        }

    }
}
